<?php 
mysql_select_db($database_tecno, $tecno);
$query_det_pres = "SELECT * FROM detallescliente WHERE tipo ='2' AND id='".$row_prod['cedula']."' AND status <> 1 GROUP BY productoDes";
$det_pres = mysql_query($query_det_pres, $tecno) or die(mysql_error());
$row_det_pres = mysql_fetch_assoc($det_pres);
$totalRows_det_pres = mysql_num_rows($det_pres);
?>
